package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.mapper.TPlayerTweetsCommentsMapper;
import com.ruoyi.entity.po.TPlayerTweetsComments;
import com.ruoyi.service.IPlayerTweetsCommentsService;

import java.util.List;

/**
 * @author chenhainan
 * @since 2024-12-11 20:00
 */
@Service
public class PlayerTweetsCommentsServiceImpl implements IPlayerTweetsCommentsService {

    @Autowired
    private TPlayerTweetsCommentsMapper tPlayerTweetsCommentsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tPlayerTweetsCommentsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TPlayerTweetsComments record) {
        return tPlayerTweetsCommentsMapper.insert(record);
    }

    @Override
    public int insertSelective(TPlayerTweetsComments record) {
        return tPlayerTweetsCommentsMapper.insertSelective(record);
    }

    @Override
    public TPlayerTweetsComments selectByPrimaryKey(Integer id) {
        return tPlayerTweetsCommentsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TPlayerTweetsComments record) {
        return tPlayerTweetsCommentsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TPlayerTweetsComments record) {
        return tPlayerTweetsCommentsMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TPlayerTweetsComments> selectList(TPlayerTweetsComments tPlayerTweetsComments) {
        return tPlayerTweetsCommentsMapper.selectList(tPlayerTweetsComments);
    }
}
